package ar.com.cooker.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * Objeto BO Unidda de Medida.
 * @author c02536
 *
 */
@Entity
@Table(name = "ck_Unit_Type")
public class UnitType implements Serializable{
	
	private static final long serialVersionUID = -1471812827208976239L;

	@Id
	@Column(name = "id_unit_type")
	private Integer id;
	
	@Column(length = 100)
	private String description;

	public UnitType() {
	}

	public UnitType(Integer id,String description) {
		this.id = id;
		this.description = description;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
